/**
 * 2021.08.06
 * common.css
**/

html,body {
    width:100%;
    height:100%;
}
body{
    flex-direction:column;
    display: flex;
}

.main{
    flex:1;
    overflow-y: auto;
    /* overflow-x: hidden; */
}


/* 返回标题 */
#backTitle{
    height:0.95rem;
    background:#f9f9f9;
    font-size:0.4rem;
    color:#020202;
    align-items: center;
    padding-top:0.32rem;
    border-bottom: 0.01rem solid #cdcdcd;
    position: relative;
    text-align: center;
    line-height:0.95rem;
}
#backTitle>a{
    display: block;
    font-size:0.4rem;
    transform:rotateY(180deg);
    color:#020202;
    position:absolute;
    left:0.3rem;
    top:50%;
    margin-top:-0.2rem;
}



/* 轮播 */
#banner {
    /* min-width: 7.5rem; */
    height: 2.4rem;
    position: relative;
}

#banner .content {
    width: 100%;
    height: 2.4rem;
    overflow: hidden;
}
#banner .content>a{
    width:7.5rem;
    height:2.4rem;
}
#banner .content>a>img{
    width:100%;
    height:100%;
}


#banner .controls {
    width: 2.2rem;
    position: absolute;
    bottom: 0.18rem;
    left: 50%;
    margin-left: -1.1rem;
    display: flex;
    justify-content: space-between;
}

#banner .controls a {
    display: block;
    width: 0.36rem;
    height: 0.04rem;
    background: #000;
    opacity: 0.2;
}

#banner .controls a:hover,
#banner .controls .checked {
    background: #fff;
    opacity: 1;
}

/* 项目 */
#project {
    min-width: 6.9rem;
    /* height: 1.5rem; */
    padding: 0.03rem 0.18rem 0.08rem;
    display: flex;
    justify-content: space-between;
}

#project a {
    display: block;
    width: 100;
    /* height: 1.2rem; */
    padding: 0.1rem;
    text-align: center;
}

#project a img {
    margin-bottom: 0.14rem;
    width:0.76rem;
    height:0.79rem;
}

#project a div {
    font-size: 0.24rem;
    color: #333333;
}

#project a:hover {
    text-decoration: none;
    background: #fefefe;
    box-shadow: 0 0.04rem 0.08rem #ccc;
}



/* 导航 */
#nav{
    height:1.05rem;
    border-top: 0.01rem solid #dddddd;
    display: flex;
    justify-content:space-around;
    align-items: center;
    background:#fff;
}
#nav>a{
    width: 25%;
    height:0.78rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#nav>a:hover{
    text-decoration: none;
}
#nav>a:hover>span,
#nav>a:hover>div,
#nav>.checked>span,
#nav>.checked>div{
    color:#e94645;
}
#nav>a>span{
    font-size:0.42rem;
    font-weight: bold;
    color:#6e7177;
}
#nav>a>div{
    font-size:0.22rem;
    color:#7f8389;
}